#include "project/initialization.h"

int
main(int argc, char** argv)
{
	initializeGlobals();

	glutInit(&argc, argv);
	glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
	glutInitWindowSize(WINDOW_WIDTH, WINDOW_HEIGHT);
	glutInitWindowPosition(WINDOW_POS_X, WINDOW_POS_Y);

	ply1 = initPly("coelho", "ply_models/bun_zipper");
	printf("%s: Pressione ENTER para continuar...\n", window_title);
	getchar();

	glutCreateWindow(window_title);
		glutReshapeFunc(displayReshape);
		glutDisplayFunc(displayWindow);
//		glutFullScreen();
		glutKeyboardFunc(interactKeyboard);
//		glutMouseFunc(interactMouse);
		glutIdleFunc(NULL);
	
	displayInit();
	glutMainLoop();

	return 0;
}
